package com.jn.rxjava.service;

import java.util.List;

public class WeatherResponse {
    private int code;
    private Result result;

    public int getCode() {
        return code;
    }

    public Result getResult() {
        return result;
    }

    public static class Result {
        private String city_name;
        private String current_condition;
        private double current_temperature;
        private long current_time;
        private String tips;
        private List<Forecast> forecast_list;

        public String getCityName() {
            return city_name;
        }

        public String getCurrentCondition() {
            return current_condition;
        }

        public double getCurrentTemperature() {
            return current_temperature;
        }

        public long getCurrentTime() {
            return current_time;
        }

        public String getTips() {
            return tips;
        }

        public List<Forecast> getForecastList() {
            return forecast_list;
        }
    }

    public static class Forecast {
        private String condition;
        private String date;
        private String high_temperature;
        private String low_temperature;
        private String weather_icon_id;
        private String wind_direction;
        private String wind_level;

        public String getCondition() {
            return condition;
        }

        public String getDate() {
            return date;
        }

        public String getHighTemperature() {
            return high_temperature;
        }

        public String getLowTemperature() {
            return low_temperature;
        }

        public String getWeatherIconId() {
            return weather_icon_id;
        }

        public String getWindDirection() {
            return wind_direction;
        }

        public String getWindLevel() {
            return wind_level;
        }
    }
}
